//
// Created by 15760 on 2022/11/7.
//

#ifndef CPP_PROJECT_COIN_H
#define CPP_PROJECT_COIN_H

class Coin {
private:
    unsigned int sum;
public:
    Coin(unsigned int s):sum(s) {}
    void changeCoin(int change) {sum += change;}
    const unsigned int getSum() const {return sum;}
};

#endif //CPP_PROJECT_COIN_H
